package com.canxin.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 用于存储腾讯返回的UUID信息
 * @author zhangdaihao
 * @date 2017-03-25 17:36:28
 * @version V1.0   
 *
 */
@Entity
@Table(name = "canxin_wxr_uuid", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class UuidEntity implements java.io.Serializable {
	/**唯一标识*/
	private java.lang.String id;
	/**uuid*/
	private java.lang.String uuid;
	/**创建时间*/
	private java.util.Date createDate;
	/**微信ID*/
	private java.lang.String wechatId;
	/**微信名*/
	private java.lang.String wechatName;
	/**状态*/
	private java.lang.String status;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  唯一标识
	 */
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=33)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  唯一标识
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  uuid
	 */
	@Column(name ="UUID",nullable=true,length=33)
	public java.lang.String getUuid(){
		return this.uuid;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  uuid
	 */
	public void setUuid(java.lang.String uuid){
		this.uuid = uuid;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  创建时间
	 */
	@Column(name ="CREATE_DATE",nullable=true)
	public java.util.Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  创建时间
	 */
	public void setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  微信ID
	 */
	@Column(name ="WECHAT_ID",nullable=true,length=33)
	public java.lang.String getWechatId(){
		return this.wechatId;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  微信ID
	 */
	public void setWechatId(java.lang.String wechatId){
		this.wechatId = wechatId;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  微信名
	 */
	@Column(name ="WECHAT_NAME",nullable=true,length=33)
	public java.lang.String getWechatName(){
		return this.wechatName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  微信名
	 */
	public void setWechatName(java.lang.String wechatName){
		this.wechatName = wechatName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  状态
	 */
	@Column(name ="STATUS",nullable=true)
	public java.lang.String getStatus(){
		return this.status;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  状态
	 */
	public void setStatus(java.lang.String status){
		this.status = status;
	}
}
